<?php if ( ! defined('WDK_PATH')) exit('No direct script access allowed');?>
<!--{**************************************************************************}-->
<link rel="stylesheet" type="text/css" href="{default_css}" />
<!--{**************************************************************************}-->
<fieldset>
	<legend>팝업 정보</legend>
	<form id="editForm" action="" method="POST">
	<input type="hidden" name="popup_seq" value="{data.popup_seq}"/>
	<table class="form">
		<colgroup>
			<col style="width:20%;"></col>
			<col style="width:30%;"></col>
			<col style="width:20%;"></col>
			<col style="width:30%;"></col>
		</colgroup>
		<tbody>
			<tr>
				<th>제목</th>
				<td>
					<input type="text" name="popup_title" value="{data.popup_title}" class="input"/>
				</td>
				<th>유형</th>
				<td>
					<input type="radio" name="popup_style" value="WIN" id="r1t"<!--{? data.popup_style != 'LAYER'}--> checked<!--{/}-->/> <label for="r1t">팝업 윈도우</label>
					<input type="radio" name="popup_style" value="LAYER" id="r1f"<!--{? data.popup_style == 'LAYER'}--> checked<!--{/}-->/> <label for="r1f">레이어</label>
				</td>
			</tr>
			<tr>
				<th>크기</th>
				<td>
					<input type="text" name="popup_width" value="{data.popup_width}" class="input" size="3"/> x
					<input type="text" name="popup_height" value="{data.popup_height}" class="input" size="3"/>
				</td>
				<th>위치</th>
				<td>
					Top : <input type="text" name="popup_pos_x" value="{data.popup_pos_x}" class="input" size="3"/> px,
					Left : <input type="text" name="popup_pos_y" value="{data.popup_pos_y}" class="input" size="3"/> px
				</td>
			</tr>
			<tr>
				<th>시작시간</th>
				<td>
					<input type="text" name="popup_start_date" value="{data.popup_start_date}" class="input" size="9"/>
					<select name="popup_start_hour">
						<!--{@range(0,23)}-->
						<option value="{.value_}"<!--{? .value_ == data.popup_start_hour}--> selected="selected"<!--{/}-->>{.value_}</option>
						<!--{/}-->
					</select>
					<select name="popup_start_min">
						<!--{@range(0,5)}-->
						<option value="{.value_*10}"<!--{? .value_*10 == data.popup_start_min}--> selected="selected"<!--{/}-->>{.value_*10}</option>
						<!--{/}-->
					</select>
				</td>
				<th>종료시간</th>
				<td>
					<input type="text" name="popup_end_date" value="{data.popup_end_date}" class="input" size="9"/>
					<select name="popup_end_hour">
						<!--{@range(0,23)}-->
						<option value="{.value_}"<!--{? .value_ == data.popup_end_hour}--> selected="selected"<!--{/}-->>{.value_}</option>
						<!--{/}-->
					</select>
					<select name="popup_end_min">
						<!--{@range(0,5)}-->
						<option value="{.value_*10}"<!--{? .value_*10 == data.popup_end_min}--> selected="selected"<!--{/}-->>{.value_*10}</option>
						<!--{/}-->
					</select>
				</td>
			</tr>
			<tr>
				<th>사용여부</th>
				<td>
					<input type="radio" name="popup_use_flag" value="T" id="r2t"<!--{? data.popup_use_flag !='F'}--> checked="checked"<!--{/}-->/> <label for="r2t">사용</label>
					<input type="radio" name="popup_use_flag" value="F" id="r2f"<!--{? data.popup_use_flag =='F'}--> checked="checked"<!--{/}-->/> <label for="r2f">사용안함</label>
				</td>
				<th>닫기여부</th>
				<td>
					<input type="radio" name="popup_close_flag" value="T" id="r3t"<!--{? data.popup_close_flag !='F'}--> checked="checked"<!--{/}-->/> <label for="r3t">사용</label>
					<input type="radio" name="popup_close_flag" value="F" id="r3f"<!--{? data.popup_close_flag =='F'}--> checked="checked"<!--{/}-->/> <label for="r3f">사용안함</label>	
				</td>
			</tr>
			<tr>
				<th>내용</th>
				<td colspan="3">
					<textarea name="popup_content">{data.popup_content}</textarea>
				</td>
			</tr>
		</tbody>
	</table>
	</form>
</fieldset>
<!--{**************************************************************************}-->
<script src="{default_js}"></script>
<!--{**************************************************************************}-->